﻿using System;

namespace CoreRay
{
    //-----------------------------------------------------------------------------------------
    /// <summary>
    /// Represents a sample used for sampling and image reconstruction.
    /// </summary>
    //-----------------------------------------------------------------------------------------

    public class Sample
    {
        //-----------------------------------------------------------------------------------------
        /// <summary>
        /// Initializes a new instance of the <see cref="Sample"/> class.
        /// </summary>
        /// <param name="imagePositionX">The image position X.</param>
        /// <param name="imagePositionY">The image position Y.</param>
        //-----------------------------------------------------------------------------------------

        public Sample(float imagePositionX, float imagePositionY) 
        {
            this.ImagePositionX = imagePositionX;
            this.ImagePositionY = imagePositionY;
        }


        //-----------------------------------------------------------------------------------------
        /// <summary>
        /// Gets the image position X.
        /// </summary>
        /// <value>The image position X.</value>
        //-----------------------------------------------------------------------------------------

        public float ImagePositionX
        {
            get;
            private set;
        }


        //-----------------------------------------------------------------------------------------
        /// <summary>
        /// Gets the image position Y.
        /// </summary>
        /// <value>The image position Y.</value>
        //-----------------------------------------------------------------------------------------

        public float ImagePositionY
        {
            get;
            private set;
        }
    }
}
